package weekend02;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;

public class FISDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis =new FileInputStream("fos.dat");
        int d = fis.read();
        System.out.println("第一次读取到的是:"+d);
        d = fis.read();
        System.out.println("第二次读取到的是:"+d);
        System.out.println("读取完毕");
        fis.close();
    }
}
